<!-- /* Description for file.
 * 面试通知
 * @copyright     Copyright 2008-2010, PHInfo Services Inc. (http://www.phinfoservices.com)
 * @package       ues
 * @subpackage    ues/app/views/users
 * @since         ues
 * @version       V0.0.1
 * @modifiedby    张海杰2011年0628
 * @lastmodified  张海杰2011年0705
 */
 -->

<?php
echo $html->css ( 'tab' );
echo $html->css ( 'style' );
echo $javascript->link('jquery-1.4.2');
?>
<script type="text/javascript">
	function mycheck() {
		var linkman=$("#projectmanagementslinkman :selected").val();
		if(linkman!="")
		{
			$("#usereditform").submit();	
		}
		else
		{
			alert("请选择一个联系人");
		}
	}
	$(function()
			{
				$("#close").click(function(){		
					window.close();							
				});
			});		
	$(function()
			{
				$("#projectmanagementsprojectCompany").change(function(){
				var company = $(this).val();
				if(company!="")
				{
					$.post("<?php echo ROOT_WEB_PATH; ?>/recruitpositions/getLinkmen/",{
						company : $(this).val()
						},function(data,textStatus){
							 $("#projectmanagementslinkman:eq(0)>option").remove();
							 $(data).find("aaa").each(function(){
							 $("#projectmanagementslinkman:eq(0)").append("<option></option>");
							 if($(this).text()=="请选择")
							 {
								 $("#projectmanagementslinkman:eq(0)>option:last").val("").html($(this).text());
							 }
							 else
							 {
								 $("#projectmanagementslinkman:eq(0)>option:last").val($(this).attr("name")).html($(this).text());
							 }
						  });
						});
				}
				});
			});	
</script>

<!-- 当前位置-->
<div id="tabmenubar">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="tabmenubartitle1"><?php echo  __('YourPosition');//您现在的位置：?></td>
		<td class="tabmenubartitle2"><?php echo "项目管理";//一级目录
										   echo '>';echo "面试管理";//二级目录
										   echo '>';echo "项目进度管理";//二级目录;
										   echo '>'
										   ?>
									<?php echo $html->tag('span',"面试通知");//当前操作地用span加粗?> 						  
		</td>
	</tr>
</table>
</div>
<!-- 当前位置-->
<?php echo $form->create('Uesemail',array('action'=>'interviewSend','type'=> 'post','id'=>'usereditform'));?>
<?php echo $form->hidden('projectmanagementid',array('default'=>"$projectmanagementid"));?>
<?php echo $form->hidden('resumeid',array('default'=>"$resumeid"));?>
<div class="tabflex">
<fieldset><legend><?php echo "选择客户:";?></legend>
<table width="100%" cellspacing="0" cellpadding="0" border="0"
	style="text-align: left">
	<tr>
		<td width="200"></td>
		<td width="100"><?php echo "请选择客户:";?></td>
		<td><?php echo $form->input('customer',array('options'=>$op,'class' => 'TextBoxE3','div'=>false,'label'=>false,'id'=>'projectmanagementsprojectCompany'));?></td>
	</tr>
	<tr>
	<td></td>
	<td><?php echo "选择联系人:";?></td>
	<td><?php echo $form->input('username',array('options'=>$op1,'class' => 'TextBoxE3','div'=>false,'label'=>false,'id'=>'projectmanagementslinkman'));?></td>
	</tr>
	<tr>
	<td></td>
	<td><?php echo "抄送:";?></td>
	<td ><?php echo $form->input('bcc',array('class' => 'TextBoxE3 txtOut','div'=>false,'label'=>false));?></td>
	</tr>
	<tr>
	<td></td>
	<td ><?php echo "是否有联系方式:";?></td>
	<td><?php echo $form->input('istel',array('options'=>$op2,'class' => 'TextBoxE3','label'=>false));?></td>
	</tr>
</table>
</fieldset>
	<table width="100%" cellspacing="0" cellpadding="0" border="0" style="text-align: left">
	<tr>
		<td width="50"></td>
		<td width="100"><?php echo $form->button('确定',array('type'=>'button','class'=>'oksubmit','onclick'=>'mycheck()'));?>
		<td width="100"><?php echo $form->button('重置',array('type'=>'reset','class'=>'resetsubmit'));?>
		</td>
	</tr>
	</table>
</div>	
<?php echo $form->end();?>


